package capstone.tagit;

/**
 * 
 * A wrapper class for name-value pairs stored as the attributes within tags.
 * 
 *
 * @param <Value> The type of value the attribute contains.  At the moment, only
 * text, but it could contain any type.
 */
public class Attribute<Value> {
	String name;
	Value value;
	
	public Attribute(String name, Value value){
		this.name = name;
		this.value = value;
	}
	
	public void setName(String name){
		this.name = name;
	}
	public void setValue(Value value){
		this.value = value;
	}
	public String getName(){
		return name;
	}
	public Value getValue(){
		return value;
	}
}